package com.client.biz.user;

import com.bean.Message;
import com.bean.User;
import com.client.biz.UserBiz;
import com.client.net.INet;
import com.client.net.NetImpl;

public class UserBizImpl implements UserBiz {

	@Override
	public Message login(User t) {
		INet<Message> net = new NetImpl();
		Message msg = new Message("/user/login.do");
		msg.setUser(t);
		msg = net.execute(msg);
		net.disconnect();
		return msg;
	}
}
